﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Things.Web.GoodsImages
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					Guid GoodsImageID=new Guid(strid);
					ShowInfo(GoodsImageID);
				}
			}
		}
		
	private void ShowInfo(Guid GoodsImageID)
	{
		Things.BLL.GoodsImages bll=new Things.BLL.GoodsImages();
		Things.Model.GoodsImages model=bll.GetModel(GoodsImageID);
		this.lblGoodsImageID.Text=model.GoodsImageID.ToString();
		this.lblGoodsID.Text=model.GoodsID.ToString();
		this.lblImage.Text=model.Image.ToString();
		this.lblImageOrder.Text=model.ImageOrder.ToString();
		this.lblCreatedDate.Text=model.CreatedDate.ToString();
		this.lblImageURL.Text=model.ImageURL;

	}


    }
}
